﻿<UserControl x:Class="IMap.Marker"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" Height="300" Width="300" MouseMove="UserControl_MouseMove" MouseLeftButtonDown="UserControl_MouseLeftButtonDown">
<Image Name="icon" Source="Marker/pinblue.png" Stretch="UniformToFill">
        <Image.ContextMenu>
            <ContextMenu>
                <MenuItem Header="删除标注" Click="MenuItem_Click" />
            </ContextMenu>
        </Image.ContextMenu>
    </Image>
</UserControl>